all: test

CPPLINKER= g++

CUDA_INSTALL_PATH = /usr/local/cuda
NVCC = $(CUDA_INSTALL_PATH)/bin/nvcc

INCLUDES= -I/usr/local/cuda/include -I/Developer/GPU\ Computing/C/common/inc 
LIBS= -lcuda -lcudart -lm
CUDAFLAGS = -g -G

test: 
	${NVCC} ${CUDAFLAGS} ${INCLUDES} ${LIBS} $^ test.cu -o test 
	
	
clean:
	rm *.o
	rm test